package com.ws.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ws.entity.Role;
import org.apache.ibatis.annotations.Select;


public interface RoleMapper extends BaseMapper<Role> {


    @Select("select   " +
            "id,  " +
            "role_name  " +
            "from  " +
            "shop_role")
    Page<Role> getRoleListForPage(Page<Role> p);
}
